package org.flowable.demospringbootflowable.repositry;

import org.flowable.demospringbootflowable.domain.Person;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/*
 * DAO 接口
 * @author lichao9
 * @date 2021/5/21 16:00
 * @param null
 * @return null
 *
 */
@Repository
public interface PersonRepository extends JpaRepository<Person, Long> {

    Person findByUsername(String username);
}